package com.weihuachao.entity;

/**
 * AbstractUser entity provides the base persistence definition of the User
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUser implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String phone;
	private String pwd;
	private Integer roleId;
	private String school;
	private String photoUrl;
	private String token;
	private String oldpass;

	// Constructors

	/** default constructor */
	public AbstractUser() {
	}

	/** minimal constructor */
	public AbstractUser(String phone, String pwd, Integer roleId, String token) {
		this.phone = phone;
		this.pwd = pwd;
		this.roleId = roleId;
		this.token = token;
	}

	/** full constructor */
	public AbstractUser(String phone, String pwd, Integer roleId,
			String school, String photoUrl, String token, String oldpass) {
		this.phone = phone;
		this.pwd = pwd;
		this.roleId = roleId;
		this.school = school;
		this.photoUrl = photoUrl;
		this.token = token;
		this.oldpass = oldpass;
	}

	// Property accessors

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getSchool() {
		return this.school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	public String getPhotoUrl() {
		return this.photoUrl;
	}

	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}

	public String getToken() {
		return this.token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getOldpass() {
		return this.oldpass;
	}

	public void setOldpass(String oldpass) {
		this.oldpass = oldpass;
	}

}